package com.okbihuo.perm.core.logger.event;

import com.okbihuo.perm.core.logger.domain.LogRecord;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

/**
 * 系统日志事件
 *
 */
@Getter
@Setter
@Builder
public class LogEvent extends ApplicationEvent {

	private static final long serialVersionUID = 1L;

	private LogRecord log;

	public LogEvent(LogRecord source) {
		super(source);
		log = source;
	}
}
